package com.hewl.shiro.admin.service;

import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hewl.shiro.admin.dao.RoleMapper;

@Service
public class RoleService {
	
	@Autowired
	private RoleMapper roleMapper;
	
	public Set<String> findRoleByUid(String id) {
		
		return roleMapper.findRoleByUid(id);
	}
}
